package com.doubao.doubao_admin.service.cService;

import com.doubao.doubao_admin.model.entity.BmsPromotion;
import com.doubao.doubao_admin.mapper.BmsPromotionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service

public class BmsPromotionService {
    @Resource
    private BmsPromotionMapper bmsPromotionMapper;
    public List<BmsPromotion> getBmsPromotions(){

        return bmsPromotionMapper.getBmsPromotions();
    }
}
